package com.bw.liuyushan.liuyushan20210929.MVP.Contrack;

import android.os.IInterface;

import com.bw.liuyushan.liuyushan20210929.Entity.JsonBean;
import com.bw.liuyushan.liuyushan20210929.Entity.UserBean;
import com.bw.liuyushan.mvp_lib.Model.IModel;
import com.bw.liuyushan.mvp_lib.View.IView;

import io.reactivex.Observer;

/**
 * Liuyushan20210929
 * file name is : IContrackTest
 * created by Ender on 2021/9/29 13:49.
 * author : 刘雨杉
 * Describe:
 */
public interface IContrackTest {
    interface C_ModelTest extends IModel{
        void askLogin(String username, String password, Observer<UserBean> observer);
        void askReg(String username, String password,String repassword, Observer<UserBean> observer);
        void askDate(String url, Observer<JsonBean> observer);
    }
    interface C_ViewTest extends IView {
        default void ShowLogin(UserBean userBean){

        }
        default void ShowReg(UserBean userBean){

        }
        default void ShowDate(JsonBean jsonBean){

        }

    }
}
